package com.ciklum.robotester.model;

import javax.xml.bind.annotation.XmlElement;
import java.util.LinkedHashSet;

/**
 * Created by miy on 7/7/2014.
 */
public class Solution {
    @XmlElement
    private String name;
    @XmlElement
    private String absPath;
    @XmlElement
    private LinkedHashSet<TestCase> testCases = new LinkedHashSet<>();

    public Solution() {
    }

    public Solution(String name, String absPath, LinkedHashSet<TestCase> testCases) {
        this.name = name;
        this.absPath = absPath;
        this.testCases = testCases;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbsPath() {
        return absPath;
    }

    public void setAbsPath(String absPath) {
        this.absPath = absPath;
    }

    public LinkedHashSet<TestCase> getTestCases() {
        return testCases;
    }

    public void setTestCases(LinkedHashSet<TestCase> testCases) {
        this.testCases = testCases;
    }
}
